package com.cyc.service;

import com.cyc.entity.CartItem;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.List;

public interface CartService {
    int addCareService(HttpServletRequest request, HttpServletResponse response,Integer itemId,Integer num);
    List<CartItem> getCartFromCookie(HttpServletRequest request);
}
